package models;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Objects;

@Entity
@Table(name = "t_WeigherInfo", schema = "dbo", catalog = "MobileCenter_Test")
public class WeigherInfo_F_Entity implements Serializable {
    private static final long serialVersionUID = 1L;
//    private int fdRowid;
    private String fdWeigherCode;
    private String fdWeigherName;
    private String fdAreaCode;
    private String fdAreaName;
    private String fdTransType;

//    @Id
//    @Column(name = "fd_Rowid", nullable = false)
//    public int getFdRowid() {
//        return fdRowid;
//    }
//
//    public void setFdRowid(int fdRowid) {
//        this.fdRowid = fdRowid;
//    }

    @Id
    @Column(name = "fd_WeigherCode", nullable = false, length = 50)
    public String getFdWeigherCode() {
        return fdWeigherCode;
    }

    public void setFdWeigherCode(String fdWeigherCode) {
        this.fdWeigherCode = fdWeigherCode;
    }

    @Id
    @Column(name = "fd_WeigherName", nullable = false, length = 50)
    public String getFdWeigherName() {
        return fdWeigherName;
    }

    public void setFdWeigherName(String fdWeigherName) {
        this.fdWeigherName = fdWeigherName;
    }

    @Id
    @Column(name = "fd_AreaCode", nullable = true, length = 10)
    public String getFdAreaCode() {
        return fdAreaCode;
    }

    public void setFdAreaCode(String fdAreaCode) {
        this.fdAreaCode = fdAreaCode;
    }

    @Id
    @Column(name = "fd_AreaName", nullable = true, length = 10)
    public String getFdAreaName() {
        return fdAreaName;
    }

    public void setFdAreaName(String fdAreaName) {
        this.fdAreaName = fdAreaName;
    }

    @Id
    @Column(name = "fd_TransType", nullable = false, length = 50)
    public String getFdTransType() {
        return fdTransType;
    }

    public void setFdTransType(String fdTransType) {
        this.fdTransType = fdTransType;
    }

}
